Skip to content

Follow the API's shorter 429 wording (0.11.2 / cli 0.8.2) - #25

Merged
spencer-zqian merged 1 commit into
mainfrom
copy/429-simpler-wording
Aug 4, 2026
Merged

Follow the API's shorter 429 wording (0.11.2 / cli 0.8.2)#25
spencer-zqian merged 1 commit into
mainfrom
copy/429-simpler-wording

Conversation

@spencer-zqian

Copy link
Copy Markdown
Contributor

Why

The API's two 429 sentences changed one release later (sonilo-api-dashboard#226): the per-minute one now says what to do instead of explaining the window inline, and both ask politely.

Rate limit exceeded: your account allows 60 requests per minute. Please retry
after 1 minute. To raise your limit, please contact info@sonilo.com.

Too many concurrent generations: 5 of 5 in progress. Please wait for one to
finish before starting another. To raise your limit, please contact
info@sonilo.com.

The "two 429s" section quotes both verbatim, so leaving them behind would put a sentence the server no longer sends in front of users — the exact problem the previous round fixed.

What changed

sonilo and sonilo-cli READMEs quote the new text. The window explanation moves into the prose around the quote, where it reads as background rather than as an error message, and now states the useful part plainly: a retry inside the window cannot succeed, and a full minute always clears it.

No runtime change. The errors test that pins verbatim passthrough follows the new text — 237 passed in the core, 86 passed in sonilo-cli.

Patch bumps (0.11.2 / cli 0.8.2) so the READMEs reach PyPI; the CLI's sonilo>=0.11.0,<0.12 pin already admits the new core.

🤖 Generated with Claude Code

The per-minute message now says "Please retry after 1 minute" rather than
explaining the fixed window inline, and both messages ask politely. The SDK and
CLI READMEs quote them verbatim, so they move together — a quoted sentence the
server no longer sends is the exact problem this round set out to fix.

The window explanation moves into the prose around the quote, where it reads as
background rather than as an error message.

No runtime change; the errors test that pins verbatim passthrough is updated to
the new text. Patch bumps on both packages so the READMEs reach PyPI.
@spencer-zqian
spencer-zqian merged commit cc9451c into main Aug 4, 2026
2 checks passed
@spencer-zqian
spencer-zqian deleted the copy/429-simpler-wording branch August 4, 2026 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant